<template>
  <div>
    <sun title="这是标题" width="80" height="80" @click.native="handle" />
  </div>
</template>

<script>
import sun from './sun'
export default {
  components: {
    sun
  },
  data () {
    return {

    }
  },
  created () {

  },
  mounted () {

  },
  methods: {
    handle () {
      console.log('父组件的方法')
    }
  }
}
</script>

<style  lang="scss" scoped>

</style>
